package com.chuanyang.driverh.mainorder;

import android.os.Bundle;
import android.support.v4.app.Fragment;

import com.chuanyang.driverh.R;
import com.chuanyang.driverh.base.BaseTitleActivity;
import com.chuanyang.driverh.mainorder.fragment.DeliveryOrderFragment;

/**
 *
 */

public class DeliveryOrderActivity extends BaseTitleActivity {
    private Fragment mFragment;

    @Override
    protected int getContentResId() {

            return R.layout.base_single_fragment_activity;
    }

    @Override
    protected void initView(Bundle savedInstanceState) {

    }

    @Override
    protected void initData() {
        setBackImg();
        getTitleTextView().setText("出库清单");
        if (mFragment == null) {
            mFragment =   new DeliveryOrderFragment();
        }
        getSupportFragmentManager().beginTransaction().add(R.id.single_fragment_content, mFragment).commit();
    }

    @Override
    protected void initListener() {

    }
}
